package com.laikan.reader.core.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 *  文章实体类（收藏成功后返回的）
 * Created by Administrator on 2016/11/8.
 *
 *  "data": {
 * "author": "剽悍一只猫","authorId": 7416796,"authorPic": "http://pic.motieimg.com/img/14667610929915535_60_60.png",
 * "followStatus": 0,"img": "http://ls.motieimg.com/SHORT/32/365/ddf9029977a61241841edeae15e9b53f_1",
 * "intro": "","isAttention": false,"readNum": 10,"shorteId": 3663,"title": "节食减肥，只能让你越减越肥",
 * "type": "2","userId": 2810198 },
 * "error_msg": "","error_no": 0,"result": 1
 */
public class ArticelcollectBean implements Serializable {

    @SerializedName ("error_no")
    private String error_no;

    @SerializedName ("error_msg")
    private String error_msg;

    @SerializedName ("result")
    private String result;

    @SerializedName ("data")
    private ArticelCollectData articelCollectData;

    public ArticelCollectData getArticalCollectData() {
        return articelCollectData;
    }

    public void setArticelCollectData(ArticelCollectData articelCollectData) {
        this.articelCollectData = articelCollectData;
    }

    public String getError_no() {
        return error_no;
    }

    public void setError_no(String error_no) {
        this.error_no = error_no;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public class ArticelCollectData implements Serializable {

        @SerializedName ("author")
        private String author;

        @SerializedName ("authorId")
        private int authorId;

        @SerializedName ("authorPic")
        private String authorPic;

        @SerializedName ("img")
        private String img;

        @SerializedName ("intro")
        private String intro;

        @SerializedName ("isAttention")
        private boolean isAttention;

        @SerializedName ("readNum")
        private int readNum;

        @SerializedName ("shorteId")
        private int shorteId;

        @SerializedName ("title")
        private String title;

        @SerializedName ("type")
        private String type;

        @SerializedName ("userId")
        private int userId;

        @SerializedName ("followStatus")
        private int followStatus;

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getAuthorId() {
            return authorId;
        }

        public void setAuthorId(int authorId) {
            this.authorId = authorId;
        }

        public String getAuthorPic() {
            return authorPic;
        }

        public void setAuthorPic(String authorPic) {
            this.authorPic = authorPic;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public boolean isAttention() {
            return isAttention;
        }

        public void setAttention(boolean attention) {
            isAttention = attention;
        }

        public int getReadNum() {
            return readNum;
        }

        public void setReadNum(int readNum) {
            this.readNum = readNum;
        }

        public int getShorteId() {
            return shorteId;
        }

        public void setShorteId(int shorteId) {
            this.shorteId = shorteId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getFollowStatus() {
            return followStatus;
        }

        public void setFollowStatus(int followStatus) {
            this.followStatus = followStatus;
        }

        @Override
        public String toString() {
            return "ArticelCollectData{" +
                   "author='" + author + '\'' +
                   ", authorId=" + authorId +
                   ", authorPic='" + authorPic + '\'' +
                   ", img='" + img + '\'' +
                   ", intro='" + intro + '\'' +
                   ", isAttention=" + isAttention +
                   ", readNum=" + readNum +
                   ", shorteId=" + shorteId +
                   ", title='" + title + '\'' +
                   ", type='" + type + '\'' +
                   ", userId=" + userId +
                   ", followStatus=" + followStatus +
                   '}';
        }
    }
}
